package com.bianqian.demo.dto;

import lombok.Data;

import javax.validation.constraints.Size;
import java.time.LocalDateTime;

/**
 * 用户信息DTO
 */
@Data
public class UserProfileDto {
    
    private Long id;
    private String account;
    private String nickname;
    private String phone;
    private String avatar;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    
    public UserProfileDto(Long id, String account, String nickname, String phone, String avatar, LocalDateTime createTime, LocalDateTime updateTime) {
        this.id = id;
        this.account = account;
        this.nickname = nickname;
        this.phone = phone;
        this.avatar = avatar;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}







